<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>sddm</Name>
        <Homepage>https://github.com/sddm/sddm</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admin@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>QML based X11 and Wayland display manager</Summary>
        <Description>KDE Power Management module. Provides kded daemon DBus helper and KCM for configuring Power settings</Description>
        <Archive sha1sum="cdb5c9cc7679bb5620bdfb9f56e4f2d5cea7edca" type="tarxz">https://github.com/sddm/sddm/releases/download/v0.19.0/sddm-0.19.0.tar.xz</Archive>
        <!-- <Archive sha1sum="43bf1ad7b34ba5402d43efb99cbae05d90b1564c" type="targz" target="sddm-0.19.0">https://github.com/sebo28/Sweet-Cat/archive/v0.1.tar.gz</Archive> -->
        <!-- <Archive sha1sum="44e69cefdcc43fd721ccefe19389f235cce41df7" type="targz" target="sddm-0.19.0">https://github.com/erkanisik1/pisiNar3-sddm-theme/archive/refs/tags/pisinar3-V1.2.tar.gz</Archive> -->
        <BuildDependencies>
            <Dependency>docutils</Dependency>
            <Dependency>keyutils</Dependency>
            <Dependency>pam-devel</Dependency>
            <Dependency>qt5-linguist</Dependency>
            <Dependency>libxcb-devel</Dependency>
            <Dependency>dejavu-fonts</Dependency>
            <Dependency>elogind-devel</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>python-docutils</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>libxkbfile-devel</Dependency>
            <Dependency>extra-cmake-modules</Dependency>
            <Dependency>qt5-graphicaleffects</Dependency>
            <Dependency>qt5-declarative-devel</Dependency>
            <Dependency>qt5-quickcontrols2-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!--Patch>sddm-respect-user-flags.patch</Patch>
            <Patch>sddm-0.14.0-consolekit.patch</Patch>
            <Patch>sddm-0.16.0-ck2-revert.patch</Patch>
            <Patch>pam-faillock.patch</Patch>
            <Patch>sddm-fix-race-pre.patch</Patch>
            <Patch>sddm-fix-race.patch</Patch-->
            <Patch>sddm-0.19.0-consolidate-1.patch</Patch>
            <Patch>0002-sddm-fix-build.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>sddm</Name>
        <Conflicts>
            <Package>gdm</Package>
            <Package>lightdm</Package>
            <Package>lxdm</Package>
            <Package>mdm</Package>
            <Package>gdm</Package>
            <Package>slim</Package>
        </Conflicts>
        <RuntimeDependencies>
            <Dependency>pam</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>elogind</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>dejavu-fonts</Dependency>
            <Dependency>qt5-declarative</Dependency>
            <Dependency>qt5-quickcontrols2</Dependency>
            <Dependency>qt5-graphicaleffects</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/qt5</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/sddm/sddm.conf.d/sddm.conf">sddm.conf</AdditionalFile>
            <!--AdditionalFile owner="root" permission="0644" target="/etc/pam.d/sddm">sddm</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/sddm-autologin">sddm-autologin</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/sddm-greeter">sddm-greeter</AdditionalFile-->
            <AdditionalFile owner="root" permission="0644" target="/etc/polkit-1/rules.d/10-backlight.rules">10-backlight.rules</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <History>
        <Update release="21">
            <Date>2022-09-25</Date>
            <Version>0.19.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="20">
            <Date>2022-08-09</Date>
            <Version>0.19.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="19">
            <Date>2022-05-17</Date>
            <Version>0.19.0</Version>
            <Comment>conf file move to /usr/lib/sddm/sddm.conf.d</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="18">
            <Date>2022-02-27</Date>
            <Version>0.19.0</Version>
            <Comment>fix deps</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="17">
            <Date>2021-08-10</Date>
            <Version>0.19.0</Version>
            <Comment>fix deps</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="16">
            <Date>2021-06-04</Date>
            <Version>0.19.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Berk Çakar</Name>
            <Email>berk2238@hotmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2021-01-09</Date>
            <Version>0.19.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2020-12-07</Date>
            <Version>0.19.0</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2020-02-02</Date>
            <Version>0.18.1</Version>
            <Comment>Rebuild</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="12">
            <Date>2019-10-29</Date>
            <Version>0.18.1</Version>
            <Comment>Version bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="11">
            <Date>2019-10-12</Date>
            <Version>0.18.1</Version>
            <Comment>Version bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="10">
            <Date>2019-02-22</Date>
            <Version>0.18.0</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2019-02-18</Date>
            <Version>0.14.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2018-08-10</Date>
            <Version>0.14.0</Version>
            <Comment>Rebuild New T.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2018-02-04</Date>
            <Version>0.14.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ali Algul</Name>
            <Email>aligulle3801@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2017-06-19</Date>
            <Version>0.14.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ali Algul</Name>
            <Email>aligulle3801@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2017-03-05</Date>
            <Version>0.14.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-10-06</Date>
            <Version>0.14.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-09-07</Date>
            <Version>0.13.0</Version>
            <Comment>Add conflict list</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-08-14</Date>
            <Version>0.13.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-07-15</Date>
            <Version>0.13.0</Version>
            <Comment>Fix session authorization issue and add rules</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-11-18</Date>
            <Version>0.13.0</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
